package com.yunxin.core.application.command.merchant;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Data
@Schema(description = "更新商户对象")
public class UpdateMerchantStatusCommand implements Serializable {
    /**
     * id
     */
    @Schema(description = "id")
    @NotNull(message = "id不能为空")
    private Long id;
    /**
     * 商户状态 1.禁用 2.启用
     */
    @Schema(description = "商户状态 1.禁用 2.启用")
    @NotNull(message = "商户状态不能为空")
    private Integer merchantStatus;
    /**
     * 更新人
     */
    @Schema(hidden = true)
    private String editor;
}
